// Author     : Leo King
// CreateDate : 2014/6/3 10:44:01
// CopyRight  : CopyRight @lktec 2013~2015
// Site       : http://www.lktec.cn
// Version    : 1.0.0.1

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Xml.Serialization;

namespace yc.Dal
{
	/// <summary>
	/// 系统区域
	/// </summary>
	public partial class SysArea
	{
		#region 初始化
		public SysArea()
		{
		}
		#endregion

		#region 基本属性

		/// <summary>
		/// 系统编号
		/// </summary>
		[Display(Name = "系统编号")]
		[Key, ScaffoldColumn(false)]
		public int ID { get; set; }

		/// <summary>
		/// 省编号
		/// </summary>
		[Display(Name = "省编号")]
		public Nullable<int> ProvinceSysNo { get; set; }

		/// <summary>
		/// 市编号
		/// </summary>
		[Display(Name = "市编号")]
		public Nullable<int> CitySysNo { get; set; }

		/// <summary>
		/// 省名称
		/// </summary>
		[Display(Name = "省名称")]
		[StringLength(50, ErrorMessage = "{0}长度不能大于{1}")]
		public string ProvinceName { get; set; }

		/// <summary>
		/// 市名称
		/// </summary>
		[Display(Name = "市名称")]
		[StringLength(50, ErrorMessage = "{0}长度不能大于{1}")]
		public string CityName { get; set; }

		/// <summary>
		/// 乡名称
		/// </summary>
		[Display(Name = "乡名称")]
		[StringLength(50, ErrorMessage = "{0}长度不能大于{1}")]
		public string DistrictName { get; set; }

		/// <summary>
		/// 显示
		/// </summary>
		[Display(Name = "显示")]
		public bool Display { get; set; }

		#endregion

		#region 复合属性
		#endregion
	}
}
